package com.zntg.bo;


import com.zntg.entity.LogContractGetEntity;

/**
 *@tablename LOG_CONTRACT_GET
 *@author zhengyunfei
 *@createDate Tue Dec 11 21:54:54 CST 2018
 */


public class LogContractGetBo implements java.io.Serializable{
 private String buyinPkId;
 private String storId;
 private String createDate;
 private String field;
 private String order;
/**
     * 更改排序字段
     * @return
     */
public String getField() {
        return field;
}
public void setField(String field) {
        this.field = field;
}
public String getOrder() {
        return order;
}
public void setOrder(String order) {
        this.order = order;
}
 private int curNo;
 public int getCurNo() {
     int value=(curNo-1)*curSize;
     return value;
 }
 public void setCurNo(int curNo) {
     this.curNo = curNo;
 }
 private int curSize;
 public int getCurSize() {
     return curSize;
 }
 public void setCurSize(int curSize) {
     this.curSize = curSize;
 }
 public void setBuyinPkId(String buyinPkId){
     this.buyinPkId=buyinPkId;
 }
 public String getBuyinPkId(){
     return buyinPkId;
 }
 public void setStorId(String storId){
     this.storId=storId;
 }
 public String getStorId(){
     return storId;
 }
 public void setCreateDate(String createDate){
     this.createDate=createDate;
 }
 public String getCreateDate(){
     return createDate;
 }
 public static LogContractGetEntity boToEntity(LogContractGetBo bo){
     LogContractGetEntity entity=new LogContractGetEntity();
     entity.setBuyinPkId(bo.getBuyinPkId());
     entity.setStorId(bo.getStorId());
     entity.setCreateDate(bo.getCreateDate());
     return entity;
 }
 public static LogContractGetBo entityToBo(LogContractGetEntity bo){
     LogContractGetBo entity=new LogContractGetBo();
     entity.setBuyinPkId(bo.getBuyinPkId());
     entity.setStorId(bo.getStorId());
     entity.setCreateDate(bo.getCreateDate());
     return entity;
 }

}

